{% if friendship == 0 %}
    <div style="float: right">
        <a href="javascript:void(0);" id="follow_{{ user_id }}"
           onclick="follow('{{ user_id }}')">+关注</a>
    </div>
{% elif friendship == 1 %}
    <div style="float: right">
        <a href="javascript:void(0);" id="follow_{{ user_id }}"
           onclick="follow('{{ user_id }}')">已关注</a>
    </div>
{% elif friendship == 2 %}
    <div style="float: right">
        <a href="javascript:void(0);" id="follow_{{ user_id }}"
           onclick="follow('{{ user_id }}')">+回关</a>
    </div>
{% elif friendship == 3 %}
    <div style="float: right">
        <a href="javascript:void(0);" id="follow_{{ user_id }}"
           onclick="follow('{{ user_id }}')">互相关注</a>
    </div>
{% endif %}
